square root solution